package com.cn.mmd.model;

import java.util.ArrayList;
import java.util.List;

public class QuestionnairesclsubmitExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public QuestionnairesclsubmitExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andAnsweridIsNull() {
            addCriterion("answerId is null");
            return (Criteria) this;
        }

        public Criteria andAnsweridIsNotNull() {
            addCriterion("answerId is not null");
            return (Criteria) this;
        }

        public Criteria andAnsweridEqualTo(Integer value) {
            addCriterion("answerId =", value, "answerid");
            return (Criteria) this;
        }

        public Criteria andAnsweridNotEqualTo(Integer value) {
            addCriterion("answerId <>", value, "answerid");
            return (Criteria) this;
        }

        public Criteria andAnsweridGreaterThan(Integer value) {
            addCriterion("answerId >", value, "answerid");
            return (Criteria) this;
        }

        public Criteria andAnsweridGreaterThanOrEqualTo(Integer value) {
            addCriterion("answerId >=", value, "answerid");
            return (Criteria) this;
        }

        public Criteria andAnsweridLessThan(Integer value) {
            addCriterion("answerId <", value, "answerid");
            return (Criteria) this;
        }

        public Criteria andAnsweridLessThanOrEqualTo(Integer value) {
            addCriterion("answerId <=", value, "answerid");
            return (Criteria) this;
        }

        public Criteria andAnsweridIn(List<Integer> values) {
            addCriterion("answerId in", values, "answerid");
            return (Criteria) this;
        }

        public Criteria andAnsweridNotIn(List<Integer> values) {
            addCriterion("answerId not in", values, "answerid");
            return (Criteria) this;
        }

        public Criteria andAnsweridBetween(Integer value1, Integer value2) {
            addCriterion("answerId between", value1, value2, "answerid");
            return (Criteria) this;
        }

        public Criteria andAnsweridNotBetween(Integer value1, Integer value2) {
            addCriterion("answerId not between", value1, value2, "answerid");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidIsNull() {
            addCriterion("questionnaireId is null");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidIsNotNull() {
            addCriterion("questionnaireId is not null");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidEqualTo(Integer value) {
            addCriterion("questionnaireId =", value, "questionnaireid");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidNotEqualTo(Integer value) {
            addCriterion("questionnaireId <>", value, "questionnaireid");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidGreaterThan(Integer value) {
            addCriterion("questionnaireId >", value, "questionnaireid");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidGreaterThanOrEqualTo(Integer value) {
            addCriterion("questionnaireId >=", value, "questionnaireid");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidLessThan(Integer value) {
            addCriterion("questionnaireId <", value, "questionnaireid");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidLessThanOrEqualTo(Integer value) {
            addCriterion("questionnaireId <=", value, "questionnaireid");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidIn(List<Integer> values) {
            addCriterion("questionnaireId in", values, "questionnaireid");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidNotIn(List<Integer> values) {
            addCriterion("questionnaireId not in", values, "questionnaireid");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidBetween(Integer value1, Integer value2) {
            addCriterion("questionnaireId between", value1, value2, "questionnaireid");
            return (Criteria) this;
        }

        public Criteria andQuestionnaireidNotBetween(Integer value1, Integer value2) {
            addCriterion("questionnaireId not between", value1, value2, "questionnaireid");
            return (Criteria) this;
        }

        public Criteria andRespondentidIsNull() {
            addCriterion("respondentId is null");
            return (Criteria) this;
        }

        public Criteria andRespondentidIsNotNull() {
            addCriterion("respondentId is not null");
            return (Criteria) this;
        }

        public Criteria andRespondentidEqualTo(String value) {
            addCriterion("respondentId =", value, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidNotEqualTo(String value) {
            addCriterion("respondentId <>", value, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidGreaterThan(String value) {
            addCriterion("respondentId >", value, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidGreaterThanOrEqualTo(String value) {
            addCriterion("respondentId >=", value, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidLessThan(String value) {
            addCriterion("respondentId <", value, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidLessThanOrEqualTo(String value) {
            addCriterion("respondentId <=", value, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidLike(String value) {
            addCriterion("respondentId like", value, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidNotLike(String value) {
            addCriterion("respondentId not like", value, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidIn(List<String> values) {
            addCriterion("respondentId in", values, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidNotIn(List<String> values) {
            addCriterion("respondentId not in", values, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidBetween(String value1, String value2) {
            addCriterion("respondentId between", value1, value2, "respondentid");
            return (Criteria) this;
        }

        public Criteria andRespondentidNotBetween(String value1, String value2) {
            addCriterion("respondentId not between", value1, value2, "respondentid");
            return (Criteria) this;
        }

        public Criteria andQuestionoptionIsNull() {
            addCriterion("questionOption is null");
            return (Criteria) this;
        }

        public Criteria andQuestionoptionIsNotNull() {
            addCriterion("questionOption is not null");
            return (Criteria) this;
        }

        public Criteria andQuestionoptionEqualTo(String value) {
            addCriterion("questionOption =", value, "questionoption");
            return (Criteria) this;
        }

        public Criteria andQuestionoptionNotEqualTo(String value) {
            addCriterion("questionOption <>", value, "questionoption");
            return (Criteria) this;
        }

        public Criteria andQuestionoptionGreaterThan(String value) {
            addCriterion("questionOption >", value, "questionoption");
            return (Criteria) this;
        }

        public Criteria andQuestionoptionGreaterThanOrEqualTo(String value) {
            addCriterion("questionOption >=", value, "questionoption");
            return (Criteria) this;
        }

        public Criteria andQuestionoptionLessThan(String value) {
            addCriterion("questionOption <", value, "questionoption");
            return (Criteria) this;
        }

        public Criteria andQuestionoptionLessThanOrEqualTo(String value) {
            addCriterion("questionOption <=", value, "questionoption");
            return (Criteria) this;
        }

        public Criteria andQuestionoptionLike(String value) {
            addCriterion("questionOption like", value, "questionoption");
            return (Criteria) this;
        }

        public Criteria andQuestionoptionNotLike(String value) {
            addCriterion("questionOption not like", value, "questionoption");
            return (Criteria) this;
        }

        public Criteria andQuestionoptionIn(List<String> values) {
            addCriterion("questionOption in", values, "questionoption");
            return (Criteria) this;
        }

        public Criteria andQuestionoptionNotIn(List<String> values) {
            addCriterion("questionOption not in", values, "questionoption");
            return (Criteria) this;
        }

        public Criteria andQuestionoptionBetween(String value1, String value2) {
            addCriterion("questionOption between", value1, value2, "questionoption");
            return (Criteria) this;
        }

        public Criteria andQuestionoptionNotBetween(String value1, String value2) {
            addCriterion("questionOption not between", value1, value2, "questionoption");
            return (Criteria) this;
        }

        public Criteria andFilltimeIsNull() {
            addCriterion("fillTime is null");
            return (Criteria) this;
        }

        public Criteria andFilltimeIsNotNull() {
            addCriterion("fillTime is not null");
            return (Criteria) this;
        }

        public Criteria andFilltimeEqualTo(String value) {
            addCriterion("fillTime =", value, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeNotEqualTo(String value) {
            addCriterion("fillTime <>", value, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeGreaterThan(String value) {
            addCriterion("fillTime >", value, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeGreaterThanOrEqualTo(String value) {
            addCriterion("fillTime >=", value, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeLessThan(String value) {
            addCriterion("fillTime <", value, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeLessThanOrEqualTo(String value) {
            addCriterion("fillTime <=", value, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeLike(String value) {
            addCriterion("fillTime like", value, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeNotLike(String value) {
            addCriterion("fillTime not like", value, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeIn(List<String> values) {
            addCriterion("fillTime in", values, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeNotIn(List<String> values) {
            addCriterion("fillTime not in", values, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeBetween(String value1, String value2) {
            addCriterion("fillTime between", value1, value2, "filltime");
            return (Criteria) this;
        }

        public Criteria andFilltimeNotBetween(String value1, String value2) {
            addCriterion("fillTime not between", value1, value2, "filltime");
            return (Criteria) this;
        }

        public Criteria andTotalpointsIsNull() {
            addCriterion("totalPoints is null");
            return (Criteria) this;
        }

        public Criteria andTotalpointsIsNotNull() {
            addCriterion("totalPoints is not null");
            return (Criteria) this;
        }

        public Criteria andTotalpointsEqualTo(Integer value) {
            addCriterion("totalPoints =", value, "totalpoints");
            return (Criteria) this;
        }

        public Criteria andTotalpointsNotEqualTo(Integer value) {
            addCriterion("totalPoints <>", value, "totalpoints");
            return (Criteria) this;
        }

        public Criteria andTotalpointsGreaterThan(Integer value) {
            addCriterion("totalPoints >", value, "totalpoints");
            return (Criteria) this;
        }

        public Criteria andTotalpointsGreaterThanOrEqualTo(Integer value) {
            addCriterion("totalPoints >=", value, "totalpoints");
            return (Criteria) this;
        }

        public Criteria andTotalpointsLessThan(Integer value) {
            addCriterion("totalPoints <", value, "totalpoints");
            return (Criteria) this;
        }

        public Criteria andTotalpointsLessThanOrEqualTo(Integer value) {
            addCriterion("totalPoints <=", value, "totalpoints");
            return (Criteria) this;
        }

        public Criteria andTotalpointsIn(List<Integer> values) {
            addCriterion("totalPoints in", values, "totalpoints");
            return (Criteria) this;
        }

        public Criteria andTotalpointsNotIn(List<Integer> values) {
            addCriterion("totalPoints not in", values, "totalpoints");
            return (Criteria) this;
        }

        public Criteria andTotalpointsBetween(Integer value1, Integer value2) {
            addCriterion("totalPoints between", value1, value2, "totalpoints");
            return (Criteria) this;
        }

        public Criteria andTotalpointsNotBetween(Integer value1, Integer value2) {
            addCriterion("totalPoints not between", value1, value2, "totalpoints");
            return (Criteria) this;
        }

        public Criteria andTotalavgIsNull() {
            addCriterion("totalAvg is null");
            return (Criteria) this;
        }

        public Criteria andTotalavgIsNotNull() {
            addCriterion("totalAvg is not null");
            return (Criteria) this;
        }

        public Criteria andTotalavgEqualTo(Float value) {
            addCriterion("totalAvg =", value, "totalavg");
            return (Criteria) this;
        }

        public Criteria andTotalavgNotEqualTo(Float value) {
            addCriterion("totalAvg <>", value, "totalavg");
            return (Criteria) this;
        }

        public Criteria andTotalavgGreaterThan(Float value) {
            addCriterion("totalAvg >", value, "totalavg");
            return (Criteria) this;
        }

        public Criteria andTotalavgGreaterThanOrEqualTo(Float value) {
            addCriterion("totalAvg >=", value, "totalavg");
            return (Criteria) this;
        }

        public Criteria andTotalavgLessThan(Float value) {
            addCriterion("totalAvg <", value, "totalavg");
            return (Criteria) this;
        }

        public Criteria andTotalavgLessThanOrEqualTo(Float value) {
            addCriterion("totalAvg <=", value, "totalavg");
            return (Criteria) this;
        }

        public Criteria andTotalavgIn(List<Float> values) {
            addCriterion("totalAvg in", values, "totalavg");
            return (Criteria) this;
        }

        public Criteria andTotalavgNotIn(List<Float> values) {
            addCriterion("totalAvg not in", values, "totalavg");
            return (Criteria) this;
        }

        public Criteria andTotalavgBetween(Float value1, Float value2) {
            addCriterion("totalAvg between", value1, value2, "totalavg");
            return (Criteria) this;
        }

        public Criteria andTotalavgNotBetween(Float value1, Float value2) {
            addCriterion("totalAvg not between", value1, value2, "totalavg");
            return (Criteria) this;
        }

        public Criteria andPositivenumIsNull() {
            addCriterion("positiveNum is null");
            return (Criteria) this;
        }

        public Criteria andPositivenumIsNotNull() {
            addCriterion("positiveNum is not null");
            return (Criteria) this;
        }

        public Criteria andPositivenumEqualTo(Integer value) {
            addCriterion("positiveNum =", value, "positivenum");
            return (Criteria) this;
        }

        public Criteria andPositivenumNotEqualTo(Integer value) {
            addCriterion("positiveNum <>", value, "positivenum");
            return (Criteria) this;
        }

        public Criteria andPositivenumGreaterThan(Integer value) {
            addCriterion("positiveNum >", value, "positivenum");
            return (Criteria) this;
        }

        public Criteria andPositivenumGreaterThanOrEqualTo(Integer value) {
            addCriterion("positiveNum >=", value, "positivenum");
            return (Criteria) this;
        }

        public Criteria andPositivenumLessThan(Integer value) {
            addCriterion("positiveNum <", value, "positivenum");
            return (Criteria) this;
        }

        public Criteria andPositivenumLessThanOrEqualTo(Integer value) {
            addCriterion("positiveNum <=", value, "positivenum");
            return (Criteria) this;
        }

        public Criteria andPositivenumIn(List<Integer> values) {
            addCriterion("positiveNum in", values, "positivenum");
            return (Criteria) this;
        }

        public Criteria andPositivenumNotIn(List<Integer> values) {
            addCriterion("positiveNum not in", values, "positivenum");
            return (Criteria) this;
        }

        public Criteria andPositivenumBetween(Integer value1, Integer value2) {
            addCriterion("positiveNum between", value1, value2, "positivenum");
            return (Criteria) this;
        }

        public Criteria andPositivenumNotBetween(Integer value1, Integer value2) {
            addCriterion("positiveNum not between", value1, value2, "positivenum");
            return (Criteria) this;
        }

        public Criteria andNegativenumIsNull() {
            addCriterion("negativeNum is null");
            return (Criteria) this;
        }

        public Criteria andNegativenumIsNotNull() {
            addCriterion("negativeNum is not null");
            return (Criteria) this;
        }

        public Criteria andNegativenumEqualTo(Integer value) {
            addCriterion("negativeNum =", value, "negativenum");
            return (Criteria) this;
        }

        public Criteria andNegativenumNotEqualTo(Integer value) {
            addCriterion("negativeNum <>", value, "negativenum");
            return (Criteria) this;
        }

        public Criteria andNegativenumGreaterThan(Integer value) {
            addCriterion("negativeNum >", value, "negativenum");
            return (Criteria) this;
        }

        public Criteria andNegativenumGreaterThanOrEqualTo(Integer value) {
            addCriterion("negativeNum >=", value, "negativenum");
            return (Criteria) this;
        }

        public Criteria andNegativenumLessThan(Integer value) {
            addCriterion("negativeNum <", value, "negativenum");
            return (Criteria) this;
        }

        public Criteria andNegativenumLessThanOrEqualTo(Integer value) {
            addCriterion("negativeNum <=", value, "negativenum");
            return (Criteria) this;
        }

        public Criteria andNegativenumIn(List<Integer> values) {
            addCriterion("negativeNum in", values, "negativenum");
            return (Criteria) this;
        }

        public Criteria andNegativenumNotIn(List<Integer> values) {
            addCriterion("negativeNum not in", values, "negativenum");
            return (Criteria) this;
        }

        public Criteria andNegativenumBetween(Integer value1, Integer value2) {
            addCriterion("negativeNum between", value1, value2, "negativenum");
            return (Criteria) this;
        }

        public Criteria andNegativenumNotBetween(Integer value1, Integer value2) {
            addCriterion("negativeNum not between", value1, value2, "negativenum");
            return (Criteria) this;
        }

        public Criteria andPositiveavgIsNull() {
            addCriterion("positiveAvg is null");
            return (Criteria) this;
        }

        public Criteria andPositiveavgIsNotNull() {
            addCriterion("positiveAvg is not null");
            return (Criteria) this;
        }

        public Criteria andPositiveavgEqualTo(Float value) {
            addCriterion("positiveAvg =", value, "positiveavg");
            return (Criteria) this;
        }

        public Criteria andPositiveavgNotEqualTo(Float value) {
            addCriterion("positiveAvg <>", value, "positiveavg");
            return (Criteria) this;
        }

        public Criteria andPositiveavgGreaterThan(Float value) {
            addCriterion("positiveAvg >", value, "positiveavg");
            return (Criteria) this;
        }

        public Criteria andPositiveavgGreaterThanOrEqualTo(Float value) {
            addCriterion("positiveAvg >=", value, "positiveavg");
            return (Criteria) this;
        }

        public Criteria andPositiveavgLessThan(Float value) {
            addCriterion("positiveAvg <", value, "positiveavg");
            return (Criteria) this;
        }

        public Criteria andPositiveavgLessThanOrEqualTo(Float value) {
            addCriterion("positiveAvg <=", value, "positiveavg");
            return (Criteria) this;
        }

        public Criteria andPositiveavgIn(List<Float> values) {
            addCriterion("positiveAvg in", values, "positiveavg");
            return (Criteria) this;
        }

        public Criteria andPositiveavgNotIn(List<Float> values) {
            addCriterion("positiveAvg not in", values, "positiveavg");
            return (Criteria) this;
        }

        public Criteria andPositiveavgBetween(Float value1, Float value2) {
            addCriterion("positiveAvg between", value1, value2, "positiveavg");
            return (Criteria) this;
        }

        public Criteria andPositiveavgNotBetween(Float value1, Float value2) {
            addCriterion("positiveAvg not between", value1, value2, "positiveavg");
            return (Criteria) this;
        }

        public Criteria andSomatizationavgIsNull() {
            addCriterion("somatizationAvg is null");
            return (Criteria) this;
        }

        public Criteria andSomatizationavgIsNotNull() {
            addCriterion("somatizationAvg is not null");
            return (Criteria) this;
        }

        public Criteria andSomatizationavgEqualTo(Float value) {
            addCriterion("somatizationAvg =", value, "somatizationavg");
            return (Criteria) this;
        }

        public Criteria andSomatizationavgNotEqualTo(Float value) {
            addCriterion("somatizationAvg <>", value, "somatizationavg");
            return (Criteria) this;
        }

        public Criteria andSomatizationavgGreaterThan(Float value) {
            addCriterion("somatizationAvg >", value, "somatizationavg");
            return (Criteria) this;
        }

        public Criteria andSomatizationavgGreaterThanOrEqualTo(Float value) {
            addCriterion("somatizationAvg >=", value, "somatizationavg");
            return (Criteria) this;
        }

        public Criteria andSomatizationavgLessThan(Float value) {
            addCriterion("somatizationAvg <", value, "somatizationavg");
            return (Criteria) this;
        }

        public Criteria andSomatizationavgLessThanOrEqualTo(Float value) {
            addCriterion("somatizationAvg <=", value, "somatizationavg");
            return (Criteria) this;
        }

        public Criteria andSomatizationavgIn(List<Float> values) {
            addCriterion("somatizationAvg in", values, "somatizationavg");
            return (Criteria) this;
        }

        public Criteria andSomatizationavgNotIn(List<Float> values) {
            addCriterion("somatizationAvg not in", values, "somatizationavg");
            return (Criteria) this;
        }

        public Criteria andSomatizationavgBetween(Float value1, Float value2) {
            addCriterion("somatizationAvg between", value1, value2, "somatizationavg");
            return (Criteria) this;
        }

        public Criteria andSomatizationavgNotBetween(Float value1, Float value2) {
            addCriterion("somatizationAvg not between", value1, value2, "somatizationavg");
            return (Criteria) this;
        }

        public Criteria andCompulsionavgIsNull() {
            addCriterion("compulsionAvg is null");
            return (Criteria) this;
        }

        public Criteria andCompulsionavgIsNotNull() {
            addCriterion("compulsionAvg is not null");
            return (Criteria) this;
        }

        public Criteria andCompulsionavgEqualTo(Float value) {
            addCriterion("compulsionAvg =", value, "compulsionavg");
            return (Criteria) this;
        }

        public Criteria andCompulsionavgNotEqualTo(Float value) {
            addCriterion("compulsionAvg <>", value, "compulsionavg");
            return (Criteria) this;
        }

        public Criteria andCompulsionavgGreaterThan(Float value) {
            addCriterion("compulsionAvg >", value, "compulsionavg");
            return (Criteria) this;
        }

        public Criteria andCompulsionavgGreaterThanOrEqualTo(Float value) {
            addCriterion("compulsionAvg >=", value, "compulsionavg");
            return (Criteria) this;
        }

        public Criteria andCompulsionavgLessThan(Float value) {
            addCriterion("compulsionAvg <", value, "compulsionavg");
            return (Criteria) this;
        }

        public Criteria andCompulsionavgLessThanOrEqualTo(Float value) {
            addCriterion("compulsionAvg <=", value, "compulsionavg");
            return (Criteria) this;
        }

        public Criteria andCompulsionavgIn(List<Float> values) {
            addCriterion("compulsionAvg in", values, "compulsionavg");
            return (Criteria) this;
        }

        public Criteria andCompulsionavgNotIn(List<Float> values) {
            addCriterion("compulsionAvg not in", values, "compulsionavg");
            return (Criteria) this;
        }

        public Criteria andCompulsionavgBetween(Float value1, Float value2) {
            addCriterion("compulsionAvg between", value1, value2, "compulsionavg");
            return (Criteria) this;
        }

        public Criteria andCompulsionavgNotBetween(Float value1, Float value2) {
            addCriterion("compulsionAvg not between", value1, value2, "compulsionavg");
            return (Criteria) this;
        }

        public Criteria andInterpersonalavgIsNull() {
            addCriterion("interpersonalAvg is null");
            return (Criteria) this;
        }

        public Criteria andInterpersonalavgIsNotNull() {
            addCriterion("interpersonalAvg is not null");
            return (Criteria) this;
        }

        public Criteria andInterpersonalavgEqualTo(Float value) {
            addCriterion("interpersonalAvg =", value, "interpersonalavg");
            return (Criteria) this;
        }

        public Criteria andInterpersonalavgNotEqualTo(Float value) {
            addCriterion("interpersonalAvg <>", value, "interpersonalavg");
            return (Criteria) this;
        }

        public Criteria andInterpersonalavgGreaterThan(Float value) {
            addCriterion("interpersonalAvg >", value, "interpersonalavg");
            return (Criteria) this;
        }

        public Criteria andInterpersonalavgGreaterThanOrEqualTo(Float value) {
            addCriterion("interpersonalAvg >=", value, "interpersonalavg");
            return (Criteria) this;
        }

        public Criteria andInterpersonalavgLessThan(Float value) {
            addCriterion("interpersonalAvg <", value, "interpersonalavg");
            return (Criteria) this;
        }

        public Criteria andInterpersonalavgLessThanOrEqualTo(Float value) {
            addCriterion("interpersonalAvg <=", value, "interpersonalavg");
            return (Criteria) this;
        }

        public Criteria andInterpersonalavgIn(List<Float> values) {
            addCriterion("interpersonalAvg in", values, "interpersonalavg");
            return (Criteria) this;
        }

        public Criteria andInterpersonalavgNotIn(List<Float> values) {
            addCriterion("interpersonalAvg not in", values, "interpersonalavg");
            return (Criteria) this;
        }

        public Criteria andInterpersonalavgBetween(Float value1, Float value2) {
            addCriterion("interpersonalAvg between", value1, value2, "interpersonalavg");
            return (Criteria) this;
        }

        public Criteria andInterpersonalavgNotBetween(Float value1, Float value2) {
            addCriterion("interpersonalAvg not between", value1, value2, "interpersonalavg");
            return (Criteria) this;
        }

        public Criteria andDepressedavgIsNull() {
            addCriterion("depressedAvg is null");
            return (Criteria) this;
        }

        public Criteria andDepressedavgIsNotNull() {
            addCriterion("depressedAvg is not null");
            return (Criteria) this;
        }

        public Criteria andDepressedavgEqualTo(Float value) {
            addCriterion("depressedAvg =", value, "depressedavg");
            return (Criteria) this;
        }

        public Criteria andDepressedavgNotEqualTo(Float value) {
            addCriterion("depressedAvg <>", value, "depressedavg");
            return (Criteria) this;
        }

        public Criteria andDepressedavgGreaterThan(Float value) {
            addCriterion("depressedAvg >", value, "depressedavg");
            return (Criteria) this;
        }

        public Criteria andDepressedavgGreaterThanOrEqualTo(Float value) {
            addCriterion("depressedAvg >=", value, "depressedavg");
            return (Criteria) this;
        }

        public Criteria andDepressedavgLessThan(Float value) {
            addCriterion("depressedAvg <", value, "depressedavg");
            return (Criteria) this;
        }

        public Criteria andDepressedavgLessThanOrEqualTo(Float value) {
            addCriterion("depressedAvg <=", value, "depressedavg");
            return (Criteria) this;
        }

        public Criteria andDepressedavgIn(List<Float> values) {
            addCriterion("depressedAvg in", values, "depressedavg");
            return (Criteria) this;
        }

        public Criteria andDepressedavgNotIn(List<Float> values) {
            addCriterion("depressedAvg not in", values, "depressedavg");
            return (Criteria) this;
        }

        public Criteria andDepressedavgBetween(Float value1, Float value2) {
            addCriterion("depressedAvg between", value1, value2, "depressedavg");
            return (Criteria) this;
        }

        public Criteria andDepressedavgNotBetween(Float value1, Float value2) {
            addCriterion("depressedAvg not between", value1, value2, "depressedavg");
            return (Criteria) this;
        }

        public Criteria andAnxietyavgIsNull() {
            addCriterion("anxietyAvg is null");
            return (Criteria) this;
        }

        public Criteria andAnxietyavgIsNotNull() {
            addCriterion("anxietyAvg is not null");
            return (Criteria) this;
        }

        public Criteria andAnxietyavgEqualTo(Float value) {
            addCriterion("anxietyAvg =", value, "anxietyavg");
            return (Criteria) this;
        }

        public Criteria andAnxietyavgNotEqualTo(Float value) {
            addCriterion("anxietyAvg <>", value, "anxietyavg");
            return (Criteria) this;
        }

        public Criteria andAnxietyavgGreaterThan(Float value) {
            addCriterion("anxietyAvg >", value, "anxietyavg");
            return (Criteria) this;
        }

        public Criteria andAnxietyavgGreaterThanOrEqualTo(Float value) {
            addCriterion("anxietyAvg >=", value, "anxietyavg");
            return (Criteria) this;
        }

        public Criteria andAnxietyavgLessThan(Float value) {
            addCriterion("anxietyAvg <", value, "anxietyavg");
            return (Criteria) this;
        }

        public Criteria andAnxietyavgLessThanOrEqualTo(Float value) {
            addCriterion("anxietyAvg <=", value, "anxietyavg");
            return (Criteria) this;
        }

        public Criteria andAnxietyavgIn(List<Float> values) {
            addCriterion("anxietyAvg in", values, "anxietyavg");
            return (Criteria) this;
        }

        public Criteria andAnxietyavgNotIn(List<Float> values) {
            addCriterion("anxietyAvg not in", values, "anxietyavg");
            return (Criteria) this;
        }

        public Criteria andAnxietyavgBetween(Float value1, Float value2) {
            addCriterion("anxietyAvg between", value1, value2, "anxietyavg");
            return (Criteria) this;
        }

        public Criteria andAnxietyavgNotBetween(Float value1, Float value2) {
            addCriterion("anxietyAvg not between", value1, value2, "anxietyavg");
            return (Criteria) this;
        }

        public Criteria andEnmityavgIsNull() {
            addCriterion("enmityAvg is null");
            return (Criteria) this;
        }

        public Criteria andEnmityavgIsNotNull() {
            addCriterion("enmityAvg is not null");
            return (Criteria) this;
        }

        public Criteria andEnmityavgEqualTo(Float value) {
            addCriterion("enmityAvg =", value, "enmityavg");
            return (Criteria) this;
        }

        public Criteria andEnmityavgNotEqualTo(Float value) {
            addCriterion("enmityAvg <>", value, "enmityavg");
            return (Criteria) this;
        }

        public Criteria andEnmityavgGreaterThan(Float value) {
            addCriterion("enmityAvg >", value, "enmityavg");
            return (Criteria) this;
        }

        public Criteria andEnmityavgGreaterThanOrEqualTo(Float value) {
            addCriterion("enmityAvg >=", value, "enmityavg");
            return (Criteria) this;
        }

        public Criteria andEnmityavgLessThan(Float value) {
            addCriterion("enmityAvg <", value, "enmityavg");
            return (Criteria) this;
        }

        public Criteria andEnmityavgLessThanOrEqualTo(Float value) {
            addCriterion("enmityAvg <=", value, "enmityavg");
            return (Criteria) this;
        }

        public Criteria andEnmityavgIn(List<Float> values) {
            addCriterion("enmityAvg in", values, "enmityavg");
            return (Criteria) this;
        }

        public Criteria andEnmityavgNotIn(List<Float> values) {
            addCriterion("enmityAvg not in", values, "enmityavg");
            return (Criteria) this;
        }

        public Criteria andEnmityavgBetween(Float value1, Float value2) {
            addCriterion("enmityAvg between", value1, value2, "enmityavg");
            return (Criteria) this;
        }

        public Criteria andEnmityavgNotBetween(Float value1, Float value2) {
            addCriterion("enmityAvg not between", value1, value2, "enmityavg");
            return (Criteria) this;
        }

        public Criteria andTerroravgIsNull() {
            addCriterion("terrorAvg is null");
            return (Criteria) this;
        }

        public Criteria andTerroravgIsNotNull() {
            addCriterion("terrorAvg is not null");
            return (Criteria) this;
        }

        public Criteria andTerroravgEqualTo(Float value) {
            addCriterion("terrorAvg =", value, "terroravg");
            return (Criteria) this;
        }

        public Criteria andTerroravgNotEqualTo(Float value) {
            addCriterion("terrorAvg <>", value, "terroravg");
            return (Criteria) this;
        }

        public Criteria andTerroravgGreaterThan(Float value) {
            addCriterion("terrorAvg >", value, "terroravg");
            return (Criteria) this;
        }

        public Criteria andTerroravgGreaterThanOrEqualTo(Float value) {
            addCriterion("terrorAvg >=", value, "terroravg");
            return (Criteria) this;
        }

        public Criteria andTerroravgLessThan(Float value) {
            addCriterion("terrorAvg <", value, "terroravg");
            return (Criteria) this;
        }

        public Criteria andTerroravgLessThanOrEqualTo(Float value) {
            addCriterion("terrorAvg <=", value, "terroravg");
            return (Criteria) this;
        }

        public Criteria andTerroravgIn(List<Float> values) {
            addCriterion("terrorAvg in", values, "terroravg");
            return (Criteria) this;
        }

        public Criteria andTerroravgNotIn(List<Float> values) {
            addCriterion("terrorAvg not in", values, "terroravg");
            return (Criteria) this;
        }

        public Criteria andTerroravgBetween(Float value1, Float value2) {
            addCriterion("terrorAvg between", value1, value2, "terroravg");
            return (Criteria) this;
        }

        public Criteria andTerroravgNotBetween(Float value1, Float value2) {
            addCriterion("terrorAvg not between", value1, value2, "terroravg");
            return (Criteria) this;
        }

        public Criteria andStubbornavgIsNull() {
            addCriterion("stubbornAvg is null");
            return (Criteria) this;
        }

        public Criteria andStubbornavgIsNotNull() {
            addCriterion("stubbornAvg is not null");
            return (Criteria) this;
        }

        public Criteria andStubbornavgEqualTo(Float value) {
            addCriterion("stubbornAvg =", value, "stubbornavg");
            return (Criteria) this;
        }

        public Criteria andStubbornavgNotEqualTo(Float value) {
            addCriterion("stubbornAvg <>", value, "stubbornavg");
            return (Criteria) this;
        }

        public Criteria andStubbornavgGreaterThan(Float value) {
            addCriterion("stubbornAvg >", value, "stubbornavg");
            return (Criteria) this;
        }

        public Criteria andStubbornavgGreaterThanOrEqualTo(Float value) {
            addCriterion("stubbornAvg >=", value, "stubbornavg");
            return (Criteria) this;
        }

        public Criteria andStubbornavgLessThan(Float value) {
            addCriterion("stubbornAvg <", value, "stubbornavg");
            return (Criteria) this;
        }

        public Criteria andStubbornavgLessThanOrEqualTo(Float value) {
            addCriterion("stubbornAvg <=", value, "stubbornavg");
            return (Criteria) this;
        }

        public Criteria andStubbornavgIn(List<Float> values) {
            addCriterion("stubbornAvg in", values, "stubbornavg");
            return (Criteria) this;
        }

        public Criteria andStubbornavgNotIn(List<Float> values) {
            addCriterion("stubbornAvg not in", values, "stubbornavg");
            return (Criteria) this;
        }

        public Criteria andStubbornavgBetween(Float value1, Float value2) {
            addCriterion("stubbornAvg between", value1, value2, "stubbornavg");
            return (Criteria) this;
        }

        public Criteria andStubbornavgNotBetween(Float value1, Float value2) {
            addCriterion("stubbornAvg not between", value1, value2, "stubbornavg");
            return (Criteria) this;
        }

        public Criteria andPsychoticismavgIsNull() {
            addCriterion("psychoticismAvg is null");
            return (Criteria) this;
        }

        public Criteria andPsychoticismavgIsNotNull() {
            addCriterion("psychoticismAvg is not null");
            return (Criteria) this;
        }

        public Criteria andPsychoticismavgEqualTo(Float value) {
            addCriterion("psychoticismAvg =", value, "psychoticismavg");
            return (Criteria) this;
        }

        public Criteria andPsychoticismavgNotEqualTo(Float value) {
            addCriterion("psychoticismAvg <>", value, "psychoticismavg");
            return (Criteria) this;
        }

        public Criteria andPsychoticismavgGreaterThan(Float value) {
            addCriterion("psychoticismAvg >", value, "psychoticismavg");
            return (Criteria) this;
        }

        public Criteria andPsychoticismavgGreaterThanOrEqualTo(Float value) {
            addCriterion("psychoticismAvg >=", value, "psychoticismavg");
            return (Criteria) this;
        }

        public Criteria andPsychoticismavgLessThan(Float value) {
            addCriterion("psychoticismAvg <", value, "psychoticismavg");
            return (Criteria) this;
        }

        public Criteria andPsychoticismavgLessThanOrEqualTo(Float value) {
            addCriterion("psychoticismAvg <=", value, "psychoticismavg");
            return (Criteria) this;
        }

        public Criteria andPsychoticismavgIn(List<Float> values) {
            addCriterion("psychoticismAvg in", values, "psychoticismavg");
            return (Criteria) this;
        }

        public Criteria andPsychoticismavgNotIn(List<Float> values) {
            addCriterion("psychoticismAvg not in", values, "psychoticismavg");
            return (Criteria) this;
        }

        public Criteria andPsychoticismavgBetween(Float value1, Float value2) {
            addCriterion("psychoticismAvg between", value1, value2, "psychoticismavg");
            return (Criteria) this;
        }

        public Criteria andPsychoticismavgNotBetween(Float value1, Float value2) {
            addCriterion("psychoticismAvg not between", value1, value2, "psychoticismavg");
            return (Criteria) this;
        }

        public Criteria andOtherIsNull() {
            addCriterion("other is null");
            return (Criteria) this;
        }

        public Criteria andOtherIsNotNull() {
            addCriterion("other is not null");
            return (Criteria) this;
        }

        public Criteria andOtherEqualTo(Float value) {
            addCriterion("other =", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherNotEqualTo(Float value) {
            addCriterion("other <>", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherGreaterThan(Float value) {
            addCriterion("other >", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherGreaterThanOrEqualTo(Float value) {
            addCriterion("other >=", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherLessThan(Float value) {
            addCriterion("other <", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherLessThanOrEqualTo(Float value) {
            addCriterion("other <=", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherIn(List<Float> values) {
            addCriterion("other in", values, "other");
            return (Criteria) this;
        }

        public Criteria andOtherNotIn(List<Float> values) {
            addCriterion("other not in", values, "other");
            return (Criteria) this;
        }

        public Criteria andOtherBetween(Float value1, Float value2) {
            addCriterion("other between", value1, value2, "other");
            return (Criteria) this;
        }

        public Criteria andOtherNotBetween(Float value1, Float value2) {
            addCriterion("other not between", value1, value2, "other");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}